projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08ecf77
)
testsuite/gtk/builder.c: Fix running on Visual Studio
author
Chun-wei Fan
<fanchunwei@src.gnome.org>
Thu, 8 Oct 2020 08:05:40 +0000
(16:05 +0800)
committer
Chun-wei Fan
<fanchunwei@src.gnome.org>
Thu, 8 Oct 2020 08:11:35 +0000
(16:11 +0800)
Explicitly say in the code that we are exporting the symbols so that when the
test program runs, it can find the required builder symbols.
testsuite/gtk/builder.c
patch
|
blob
|
history
diff --git
a/testsuite/gtk/builder.c
b/testsuite/gtk/builder.c
index 78ff3c9b3ad2db0e84985d8f0063a64de411f73b..d57b676d56869ea61f69f7e6ecc0a9e0b10d1d5c 100644
(file)
--- a/
testsuite/gtk/builder.c
+++ b/
testsuite/gtk/builder.c
@@
-2448,13
+2448,13
@@
test_transforms (void)
g_object_unref (builder);
}
-char *
+
G_MODULE_EXPORT
char *
builder_get_search (gpointer item)
{
return g_strdup (gtk_string_filter_get_search (item));
}
-char *
+
G_MODULE_EXPORT
char *
builder_copy_arg (gpointer item, const char *arg)
{
return g_strdup (arg);